home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_300 / 353_02 / car.h < prev    next >
C/C++ Source or Header  |  1992-01-18  |  357b  |  21 lines

  1.                                   // Chapter 7 - Program 4
  2. #ifndef CAR_H
  3. #define CAR_H
  4.  
  5. #include "vehicle.h"
  6.  
  7. class car : public vehicle {
  8.    int passenger_load;
  9. public:
  10.    void initialize(int in_wheels, float in_weight, int people = 4);
  11.    int passengers(void);
  12. };
  13.  
  14. #endif
  15.  
  16.  
  17.  
  18. // Result of execution
  19. //
  20. // (this file cannot be executed)
  21.